import 'package:flutter/material.dart';

class ButtonItem extends StatelessWidget {
  String text;
  ButtonItem({this.text: '按钮'});
  @override
  Widget build(BuildContext context) {
    return RaisedButton(
      onPressed: () {},
      child: Text(this.text),
      textColor: Theme.of(context).accentColor,
    );
  }
}
